package com.butuh.uang.tuh.ang.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.butuh.uang.tuh.ang.R;
import com.butuh.uang.tuh.ang.util.OnClickLogUtils;

import butterknife.BindView;
import butterknife.OnClick;
import cn.droidlover.xdroidmvp.kit.Kits;
import cn.droidlover.xdroidmvp.mvp.XActivity;

public class VerActivity extends XActivity {

    @BindView(R.id.tv_vername)
    TextView mTvVerName;

    String yemianName = "Version";

    @Override
    public void initData(Bundle savedInstanceState) {
        mTvVerName.setText(Kits.Package.getVersionName(this));
        OnClickLogUtils.onClickLog(this, "come-in-into", "[\\\"Version\\\"]", 0);
    }

    @OnClick({R.id.iv_back})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_back:
                finish();
                OnClickLogUtils.onClickPermute(context, yemianName, "back", 0);
                break;
        }
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_ver;
    }

    @Override
    public Object newP() {
        return null;
    }
}
